package com.sdkx.wear_os.viewmodel

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import kotlinx.coroutines.flow.MutableSharedFlow

/**
 * 全局viewModel
 * 创建：by lazy { getAppViewModel<AppViewModel>() }
 */
class AppViewModel constructor(
    application: Application
) : AndroidViewModel(application) {
    //当前页是否加载
    var homeFragmentFlow = MutableSharedFlow<Boolean>()
    var mineFragmentFlow = MutableSharedFlow<Boolean>()

}